package com.candy.pojo;

/**
 * @author donglin
 * @Title:
 * @类名: Student
 * @date 2020/8/14
 */
public class Student {
    private String stuName;
    private Integer stuAge;

    public Student() {
    }

    public Student(String stuName, Integer stuAge) {
        this.stuName = stuName;
        this.stuAge = stuAge;
    }
    public void doStuding(){
        System.out.println(this.stuName+"is Studing.........");
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public Integer getStuAge() {
        return stuAge;
    }

    public void setStuAge(Integer stuAge) {
        this.stuAge = stuAge;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stuName='" + stuName + '\'' +
                ", stuAge=" + stuAge +
                '}';
    }
}
